package com.ruoyi.patent.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.annotation.Excel.ColumnType;

/**
 * 合同类型对象 p_contract_type
 *
 * @author jwinni
 * @date 2022-04-11
 */
public class PContractType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类型id */
    private Long ctypeId;

    /** 合同类型名称 */
    @Excel(name = "合同类型名称")
    private String typeName;

    /** 排序 */
    @Excel(name = "排序" , cellType = ColumnType.NUMERIC)
    private Long orderNum;

    public void setCtypeId(Long ctypeId)
    {
        this.ctypeId = ctypeId;
    }

    public Long getCtypeId()
    {
        return ctypeId;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }
    public void setOrderNum(Long orderNum)
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum()
    {
        return orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ctypeId", getCtypeId())
            .append("typeName", getTypeName())
            .append("orderNum", getOrderNum())
            .append("createTime", getCreateTime())
            .toString();
    }
}
